package com.greendragon.service.frontend; 

import java.util.List;

import com.greendragon.persistence.domain.Product;
import com.greendragon.persistence.domain.ProductComment;

/** 
 * @author wulibin, exceptsky@gmail.com, 2011-9-9 上午07:31:43
 * 
 */
public interface IProductFrontendService extends IBaseFrontendService<Product>{
	
	public long getCommentCount(Long pid);
	
	public long getCountByCategory(Long cid);
	
	public List<Product> getByCategory(Long cid, int page);
	
	public List<ProductComment> getComments(Long pid, int page);
}
 